package com.glsc.ngateway.opmanage.dto;


import cn.hutool.core.annotation.Alias;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

import javax.persistence.Column;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LedgerFileExportDto implements Serializable {
    private static final long serialVersionUID = -111547042040715027L;

    //一级权限	二级权限	三级权限	四级权限	五级权限	部门名称	岗位名称	操作人姓名	操作
    @ApiModelProperty(value = "台账名称")
    @Alias(value = "台账名称")
    private String name;

    @ApiModelProperty(value = "客户编号")
    @Alias(value = "客户编号")
    private String customerNo;

    @ApiModelProperty(value = "文件名称")
    @Alias(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件类型")
    @Alias(value = "文件类型")
    private String type;

    @ApiModelProperty(value = "工作值")
    @Alias(value = "工作值")
    private String workValue;

    @ApiModelProperty(value = "创建时间")
    @Alias(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "备注")
    @Alias(value = "备注")
    private String remark;

    @ApiModelProperty(value = "文件是否实际收到")
    @Alias(value = "文件是否实际收到")
    private String fileActualReceive;
}
